"""""
哥德巴赫猜想
"""
import math
"判断是否为偶数"
def is_even(number):
    if number %2 == 0:
        return True
    else:
        return False
"判断是否为素数"
def is_prime(number):
    if number < 2:
        return False
    sqrt_number = int(math.sqrt(number))
    for i in range(2,sqrt_number+1):
        if number % i ==0:
            return False
        else:
            return True
"判断一个数能否分为俩个素数的和，并返回一个列表"
def can_sqlit(number):
    equo_list = []
    for i in range(1,number//2+1):
        j = number - i
        if is_prime(i) and is_prime(j):
            equo_list.append(f"{number}={i}+{j}")
    if not equo_list:
        equo_list.append(f"{number}无法分解俩个素数")
    return equo_list
if __name__ == "__main__":
    random_num = input("输入一个大于5的偶数")
    if random_num.isdigit():
        random_num = int(random_num)
        if random_num > 5 and is_even(random_num):
            result_list = can_sqlit(random_num)
            for equo in result_list:
                print(equo)
        else:
            print("输入的数字不合要求")
    else:
        print("输入整数")